<?php

namespace app\client\api;

class C_cache
{
    /**
     * 操作缓存
     * @param string $paramObj
     */
    public function op($paramObj=""){
        $paramsObj=paramsObj();
        $paramsObj->mixed=1;
        $paramsObj=blenderObject($paramsObj,$paramObj);
        $checkResult=app("L_Common_caches")->op($paramsObj);
        if($checkResult["error_no"]==0){
            return apiResult(true,"success",0,$checkResult["result"],$checkResult["extra"]);
        }else{
            return apiResult(false,$checkResult["error_msg"],$checkResult["error_no"]);
        }
    }
}